<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/data.js"></script>

</head>
<body>
<div id="div1">

</div>
<script src="js/vue.js"></script>
<script>
     new Vue({
        el: '#div1',
        data: {
            name: 'zhang.san',
            age: 15,
            sex: 'man'
        }
    })
</script>
</body>
</html>